/**
 * Created by thomas on 2018/2/16.
 */
const CheckInput = {};
CheckInput.install = function (Vue, options) {
  Vue.prototype.$CheckInput = (tips) => {

  }
  // 3. 注入组件
  Vue.mixin({
    created: function (e) {
      //记录初始值
      this.old_CheckInput =  this.CheckInput;
      console.log(this.data)
    },
    computed: {
      CheckInput: {
        // getter
        get: function () {
          return this.CheckInput;
        },
        // setter
        set: function (newValue) {

          this.CheckInput = newValue;
        }
      }
    }
  })

}
module.exports = CheckInput;
